Current File : /var/www/vinorea/themes/v1_barbera_6/templates/cms/stores.tpl |
{**
* 2007-2025 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2025 PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{strip}
{extends file='page.tpl'}
{block name='page_title'}
{l s='Our stores' d='Shop.Theme.Global'}
{/block}
{block name='page_content_container'}
<div id="content" class="page-content page-stores">
<div class="row tvstore-address-in">
{foreach $stores as $store}
<article id="store-{$store.id}" class="store-item col-xs-12 col-sm-6 col-md-6 col-lg-4 col-xl-3">
<div class="store-item-container clearfix">
<div class="store-picture">
<img src="{$store.image.bySize.stores_default.url}" alt="{$store.image.legend}" title="{$store.image.legend}">
</div>
<div class="store-description">
<h5>{$store.name}</h5>
<p>{$store.address.formatted nofilter}</p>
{if $store.note || $store.phone || $store.fax || $store.email}
<a data-toggle="collapse" href="#about-{$store.id}" aria-expanded="false" aria-controls="about-{$store.id}">
<strong>
{l s='About and Contact' d='Shop.Theme.Global'}
</strong>
<i class="material-icons"></i>
</a>
{/if}
</div>
{*<div class="divide-left">
<table>
{foreach $store.business_hours as $day}
<tr>
<th>{$day.day|truncate:4:'.'}</th>
<td>
<ul>
{foreach $day.hours as $h}
<li>{$h}</li>
{/foreach}
</ul>
</td>
</tr>
{/foreach}
</table>
</div>*}
</div>
<footer id="about-{$store.id}" class="collapse">
<div class="store-item-footer divide-top">
<div class="card-block">
{if $store.note}
<p class="text-justify">{$store.note}<p>
{/if}
</div>
<ul class="card-block">
{if $store.phone}
<li><i class="material-icons"></i>{$store.phone}</li>
{/if}
{if $store.fax}
<li><i class="material-icons"></i>{$store.fax}</li>
{/if}
{if $store.email}
<li><i class="material-icons"></i>{$store.email}</li>
{/if}
</ul>
</div>
</footer>
</article>
{/foreach}
</div>
</div>
{/block}
{/strip}